<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            height: 100vh;
        }
         .test{
             display: flex;
             margin-left: 120px;
             flex-wrap:wrap;
             width: 1300px;
             align-content:flex-end;
             border: 1px solid red;
         }
        .test div{
            width: 300px;
            height: 100px;
            margin-left: 20px;
         border: 1px red solid;
            margin-top: 10px;
            text-align: center;
            margin-bottom: 10px;
        }
    </style>
</head>
<body>
 <div class="test">
     <div>1</div>
     <div>2</div>
     <div>1</div>
     <div>2</div>
     <div>1</div>
     <div>2</div>
     <div>1</div>
     <div>2</div>
     <div>1</div>
     <div>2</div>
     <div>1</div>
     <div>2</div>
     <div>1</div>
     <div>2</div>
 </div>
 <script>
     var arr=[
         {a:'b'},
         {a:'b'}
     ]
     for ( in arr){
         console.log(item)
     }
 </script>
</body>
</html>